package week3;

public class CircularArrayQueueTest {
    public static void main(String[] args) {
        CircularArrayQueue queue = new CircularArrayQueue();
        System.out.println(queue.isEmpty());
        queue.enqueue("郭恺");
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.enqueue(20172301);
        queue.dequeue();

        System.out.println(queue.first());
        System.out.println(queue.toString());
    }
}
